All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.std.sg.SGVideoChannel
java.lang.Object
|
+----quicktime.QTObject
|
+----quicktime.std.comp.ComponentIdentifier
|
+----quicktime.std.comp.Component
|
+----quicktime.std.sg.SGChannel
|
+----quicktime.std.sg.VisualChannel
|
+----quicktime.std.sg.SGVideoChannel
- public final class SGVideoChannel
- extends VisualChannel
- implements QuickTimeLib
Assists in importing video into a movie.
The SGChannel implements methods for a corresponding QuickTime
ComponentInstance structure.
Refer to SGChannel in QuickTime Components
-
SGVideoChannel(SequenceGrabber)
- Creates a sequence grabber channel and assigns a channel component to the channel.
-
digitizerChanged()
- Allows you to notify the sequence grabber component whenever you change the
configuration of a video channel's video digitizer.
-
getCompressor()
- Get a channel’s current image-compression parameters.
-
getCompressorType()
- Get the Video Compressor Type
QuickTime::SGGetVideoCompressorType QuickTime::SGGetVideoCompressorType
-
getDigitizerComponent()
- Allows you to determine the video digitizer component that is providing source
video to a video channel component.
-
getSrcVideoBounds()
- Allows you to determine the size of the source video boundary rectangle.
-
getVideoRect()
- Allows you to determine the portion of the source video image that is to be captured.
-
setCompressor(int, int, int, int, int)
- Set a channel’s current image-compression parameters.
-
setCompressorType(int)
- Set the type of Video Compressor
QuickTime::SGSetVideoCompressorType QuickTime::SGSetVideoCompressorType
-
setDigitizerComponent(VideoDigitizer)
- Allows you to assign a video digitizer component to a video channel.
-
setVideoRect(QDRect)
- Allows you to specify the portion of the source video image that is to be captured.
SGVideoChannel
public SGVideoChannel(SequenceGrabber owner) throws StdQTException
- Creates a sequence grabber channel and assigns a channel component to the channel.
The channel component is responsible for providing digitized data to the
sequence grabber component.
QuickTime::SGNewChannel
- Parameters:
- owner - specifies the sequence grabber component the channel is attached to.
setCompressorType
public void setCompressorType(int compressorType) throws StdQTException
- Set the type of Video Compressor
QuickTime::SGSetVideoCompressorType QuickTime::SGSetVideoCompressorType
- Parameters:
- compressorType - sets the type of compressor to use on the channel.
getCompressorType
public int getCompressorType() throws StdQTException
- Get the Video Compressor Type
QuickTime::SGGetVideoCompressorType QuickTime::SGGetVideoCompressorType
- Parameters:
- compressorType - sets the type of compressor to use on the channel.
setCompressor
public void setCompressor(int depth,
int compressor,
int spatialQuality,
int temporalQuality,
int keyFrameRate) throws StdQTException
- Set a channel’s current image-compression parameters.
QuickTime::SGSetVideoCompressor QuickTime::SGSetVideoCompressor
- Parameters:
- depth - Specifies the depth at which the image is likely to be viewed.
- compressor - Specifies the image compressor identifier.
- spatialQuality - Specifies the desired compressed image quality.
- temporalQuality - This parameter governs the level of compression you desire with respect to information between successive frames in the sequence.
- keyFrameRate - Specifies the maximum number of frames allowed between key frames.
getCompressor
public SGVideoCompressorInfo getCompressor() throws StdQTException
- Get a channel’s current image-compression parameters.
QuickTime::SGGetVideoCompressor QuickTime::SGGetVideoCompressor
- Parameters:
- returns - a SGVideoCompressorInfo object.
getDigitizerComponent
public VideoDigitizer getDigitizerComponent()
- Allows you to determine the video digitizer component that is providing source
video to a video channel component.
QuickTime::SGGetVideoDigitizerComponent QuickTime::SGGetVideoDigitizerComponent
- Returns:
- the Video Digitizer component or null if there is no video digitizer
setDigitizerComponent
public void setDigitizerComponent(VideoDigitizer vdig) throws StdQTException
- Allows you to assign a video digitizer component to a video channel.
QuickTime::SGSetVideoDigitizerComponent QuickTime::SGSetVideoDigitizerComponent
- Parameters:
- vdig - the digitizer component that identifies a connection to a video digitizer component.
digitizerChanged
public void digitizerChanged() throws StdQTException
- Allows you to notify the sequence grabber component whenever you change the
configuration of a video channel's video digitizer.
QuickTime::SGVideoDigitizerChanged QuickTime::SGVideoDigitizerChanged
setVideoRect
public void setVideoRect(QDRect r) throws StdQTException
- Allows you to specify the portion of the source video image that is to be captured.
QuickTime::SGSetVideoRect QuickTime::SGSetVideoRect
- Parameters:
- r - the rectangle that defines the potion of the source video image to be captured.
getVideoRect
public QDRect getVideoRect() throws StdQTException
- Allows you to determine the portion of the source video image that is to be captured.
QuickTime::SGGetVideoRect QuickTime::SGGetVideoRect
- Returns:
- the rectangle that defines the portion of the source video being captured.
getSrcVideoBounds
public QDRect getSrcVideoBounds() throws StdQTException
- Allows you to determine the size of the source video boundary rectangle.
QuickTime::SGGetSrcVideoBounds QuickTime::SGGetSrcVideoBounds
- Returns:
- the rectangle that defines the size of the source video being captured.
All Packages Class Hierarchy This Package Previous Next Index